package com.sparrow.datasource;

import java.sql.Connection;
import java.sql.SQLException;

import javax.sql.DataSource;

public interface TransactionManager {

	Connection start();

	void commit() throws SQLException;

	void rollback();

	void setDataSource(DataSource datasource);
}
